package FlyWeight;

public class Rank {
    public int rank;
    public Rank(int rank) {
        this.rank=rank;
    }
    public Boolean equals(Rank rank){
        if(this.rank==rank.rank)
            return true;
        else
            return false;
    }
}
